package com.yn.club.subject.application.convert;


import java.util.List;
import com.yn.club.subject.domain.entity.SubjectRadioDO;
import com.yn.club.subject.application.dto.SubjectRadioDTO;
import com.yn.club.subject.application.request.SubjectRadioSaveRequest;
import com.yn.club.subject.application.request.SubjectRadioQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 单选题信息表(SubjectRadio)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-21 17:40:47
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectRadioApplicationConverter {

  SubjectRadioDTO convertDoToDto(SubjectRadioDO ojb);
  
  List<SubjectRadioDTO> convertDoToDto(List<SubjectRadioDO> ojbs);
  
  SubjectRadioDO convertDtoToDo(SubjectRadioDTO ojb);
  
  List<SubjectRadioDO> convertDtoToDo(List<SubjectRadioDTO> ojbs);
  
  SubjectRadioDO convertSaveRequestToDo(SubjectRadioSaveRequest ojb);
  
  SubjectRadioDO convertQueryRequestToDo(SubjectRadioQueryRequest ojb);
  
  
}

